﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class RankingPriorityDTO
    {
        /// <summary>
        /// Mã xếp loại - dùng cho việc update
        /// </summary>
        private int m_RANKING_PRIORITY_ID;
        public int RANKING_PRIORITY_ID
        {
            get { return m_RANKING_PRIORITY_ID; }
            set { m_RANKING_PRIORITY_ID = value; }
        }
        /// <summary>
        /// Ưu tiên theo điểm
        /// </summary>
        private int m_RANKING_BY_SCORES;
        public int RANKING_BY_SCORES
        {
            get { return m_RANKING_BY_SCORES; }
            set { m_RANKING_BY_SCORES = value; }
        }
        /// <summary>
        /// Ưu tiên theo hiệu số bàn thắng
        /// </summary>
        private int m_RANKING_BY_GOALDIFFERENCE;
        public int RANKING_BY_GOALDIFFERENCE
        {
            get { return m_RANKING_BY_GOALDIFFERENCE; }
            set { m_RANKING_BY_GOALDIFFERENCE = value; }
        }

        /// <summary>
        /// Ưu tiên theo tổng bàn thắng
        /// </summary>
        private int m_RANKING_BY_GOALFOR;
        public int RANKING_BY_GOALFOR
        {
            get { return m_RANKING_BY_GOALFOR; }
            set { m_RANKING_BY_GOALFOR = value; }
        }
        /// <summary>
        /// Ưu tiên theo thành tích đối kháng
        /// </summary>
        private int m_RANKING_BY_ONEONONE;
        public int RANKING_BY_ONEONONE
        {
            get { return m_RANKING_BY_ONEONONE; }
            set { m_RANKING_BY_ONEONONE = value; }
        }
    }

    public static class RankingPriorityColumns
    {
        public static string RANKING_PRIORITY_ID = "RANKING_PRIORITY_ID";
        public static string RANKING_BY_SCORES = "RANKING_BY_SCORES";
        public static string RANKING_BY_GOALDIFFERENCE = "RANKING_BY_GOALDIFFERENCE";
        public static string RANKING_BY_GOALFOR = "RANKING_BY_GOALFOR";
        public static string RANKING_BY_ONEONONE = "RANKING_BY_ONEONONE";      
    }
}
